import http from '@/utils/httpRequest'
import Vue from 'vue'
// 积分转余额
export default {
  list (params) {
    return http.get(http.adornUrl('/api/pointtobalace/pointtobalacecnhd/list'), {
      params: params
    })
  },

  // statistics (params) {
  //   return http.get(http.adornUrl('/api/pointtobalace/pointtobalacecnhd'), {
  //     params: params
  //   })
  // },
  getInfo (id) {
    return http.get(http.adornUrl(`/api/pointtobalace/pointtobalacecnhd/${id}`), {
    })
  },
  editData (params) {
    return http.post(http.adornUrl('/api/pointtobalace/pointtobalacecnhd/edit'), params
    )
  },
  batchToEditData (params) {
    return http.post(http.adornUrl('/api/pointtobalace/pointtobalacecnhd/batch-to-edit'), params
    )
  }
}
